<extend name="Layout:layout_edit" />
<block name="body_content_block">
    <form action="{:AddonU('Admin/save_admin_role')}" method="post">
        <table>
            <tr>
                <th>角色：</th>
                <td><input class="easyui-combobox" id="role_id" name="role_id" data-url="{:AddonU('Role/get_role_tree_json')}" value="{$data.roleID}" /></td>
            </tr>
        </table>
        <input type='hidden' name="id" value="{$data.id}" />
    </form>  
</block>
<block name="body_after_block">
    <script type="text/javascript">        
        item_form.resize_owner_dialog({width:338});
        item_form.combobox('#role_id', {url: $('#roleID').data('url')}, '没有角色记录')
    </script>
</block>